package com.kayang.dd.pojo.msg;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Map;

@Data
public class TextMsg extends BaseMsg {

    private String msgtype = "text";

    @NotNull
    private int agentid;

    @NotNull
    //{ "content" : "你的快递已到，请携带工卡前往邮件中心领取。"}
    private Map text;

    private int safe;

    //开启id转义
    private int enable_id_trans;


}


